package com.dys.service;

/**
 * @className: com.dys.service.GoodsService
 * @description: com.dys.service
 * @author: pine cone
 * @version: v1.0.0
 * @createTime: 2024/10/21 22:22
 */
public interface GoodsService {

    /**
     * 购买商品
     *
     * @param userId  用户id
     * @param goodsId 商品id
     */
    void buyGoods(int userId, int goodsId);
}
